package com.weitu.risk.service;

import java.util.List;
import java.util.Map;

/**
 * Created by fanyuting on 2017/5/15 0015.
 */
public interface StatisticsService {
    /**
     * 按风险等级统计
     *
     * @param map
     * @return
     */
    public List<Map<String, Object>> statisticsByRiskGradeList(Map<String, Object> map);

    public int statisticsByRiskGradeCount(Map<String, Object> map);

    /**
     * 按风险识别对象类型统计
     *
     * @param map
     * @return
     */
    public List<Map<String, Object>> statisticsByRecogniseTypeList(Map<String, Object> map);

    public int statisticsByRecogniseTypeCount(Map<String, Object> map);

    /**
     * 按风险类别统计
     *
     * @param map
     * @return
     */
    public List<Map<String, Object>> statisticsByRiskTypeList(Map<String, Object> map);

    public int statisticsByRiskTypeCount(Map<String, Object> map);

    /**
     * 根据重大风险评审状态统计
     *
     * @param map
     * @return
     */
    public List<Map<String, Object>> statisticsBySeriousState(Map<String, Object> map);
}
